package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 薪酬发放相关信息
 */
public class Payroll {
    // ID（pk）
    private int id;
    // 员工 ID
    private String employeeId;
    // 结构 ID
    private String struceId;
    // 发放月份
    private String monthIssuance;
    // 应发金额
    private String amount;
    // 扣款总额
    private String chargeback;
    // 实发金额
    private String actulAmount;
    // 发放状态
    private String issuanceStaus;
    // 发放时间
    private String releaseTime;

    // 无参构造函数
    public Payroll() {
    }

    // 全参构造函数
    public Payroll(int id, String employeeId, String struceId, String monthIssuance,
                   String amount, String chargeback, String actulAmount,
                   String issuanceStaus, String releaseTime) {
        this.id = id;
        this.employeeId = employeeId;
        this.struceId = struceId;
        this.monthIssuance = monthIssuance;
        this.amount = amount;
        this.chargeback = chargeback;
        this.actulAmount = actulAmount;
        this.issuanceStaus = issuanceStaus;
        this.releaseTime = releaseTime;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public String getStruceId() {
        return struceId;
    }

    public String getMonthIssuance() {
        return monthIssuance;
    }

    public String getAmount() {
        return amount;
    }

    public String getChargeback() {
        return chargeback;
    }

    public String getActulAmount() {
        return actulAmount;
    }

    public String getIssuanceStaus() {
        return issuanceStaus;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public void setStruceId(String struceId) {
        this.struceId = struceId;
    }

    public void setMonthIssuance(String monthIssuance) {
        this.monthIssuance = monthIssuance;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public void setChargeback(String chargeback) {
        this.chargeback = chargeback;
    }

    public void setActulAmount(String actulAmount) {
        this.actulAmount = actulAmount;
    }

    public void setIssuanceStaus(String issuanceStaus) {
        this.issuanceStaus = issuanceStaus;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    @Override
    public String toString() {
        return "Payroll{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", struceId='" + struceId + '\'' +
                ", monthIssuance='" + monthIssuance + '\'' +
                ", amount='" + amount + '\'' +
                ", chargeback='" + chargeback + '\'' +
                ", actulAmount='" + actulAmount + '\'' +
                ", issuanceStaus='" + issuanceStaus + '\'' +
                ", releaseTime='" + releaseTime + '\'' +
                '}';
    }
}
